/*
 * Copyright (c) 2025 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

import React from 'react';
import {NavigationContainer} from '@react-navigation/native';
import {createStackNavigator} from '@react-navigation/stack';
import Home from './src/main/view/Home';
import VideoSwiper from './src/main/view/rotation/VideoSwiper';
import VideoPlayer from './src/main/view/rotation/VideoPlayer';
import VideoList from './src/main/view/immersion/VideoList';
import VideoDetail from './src/main/view/immersion/VideoDetail';
const HomeStack = createStackNavigator();

export default function App() {
  return (
    <NavigationContainer>
      <HomeStack.Navigator screenOptions={{headerShown: false}}>
        <HomeStack.Screen name="Home" component={Home} />
        <HomeStack.Screen name="VideoSwiper" component={VideoSwiper} />
        <HomeStack.Screen name="Details" component={VideoPlayer} />
        <HomeStack.Screen name="VideoList" component={VideoList} />
        <HomeStack.Screen name="VideoDetail" component={VideoDetail} />
      </HomeStack.Navigator>
    </NavigationContainer>
  );
}